package com.bookcycle.panda.webfront.doo;

import java.util.Date;

/**
 * @author Mason
 * @date 2018/1/31
 */
public class AccountDO {
    String id;
    String credential;
    String telephone;
    String email;
    String password;
    Date registerTime;
    Boolean locked;
    Integer type;

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCredential() {
        return credential;
    }

    public void setCredential(String credential) {
        this.credential = credential;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }


    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }



    @Override
    public String toString() {
        return "AccountDO{" +
                "id='" + id + '\'' +
                ", credential='" + credential + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                ", password='" + password + '\'' +
                ", registerTime=" + registerTime +
                ", locked=" + locked +
                ", type=" + type +
                '}';
    }
}
